# coding=utf8

# Copyright 2018 JDCLOUD.COM
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# NOTE: This class is auto generated by the jdcloud code generator program.


class NoticeOption(object):

    def __init__(self, effectiveIntervalEnd=None, effectiveIntervalStart=None, noticeCondition=None, noticePeriod=None, noticeWay=None):
        """
        :param effectiveIntervalEnd: (Optional) 生效截止时间，默认值:23:59
        :param effectiveIntervalStart: (Optional) 生效起始时间，默认值:00:00
        :param noticeCondition: (Optional) 通知条件 1-告警 2-数据不足3-告警恢复
        :param noticePeriod: (Optional) 通知沉默周期,单位:分钟，默认值：24小时,目前支持的取值“24小时、12小时、6小时、3小时、1小时、30分钟、15分钟、10分钟、5分钟”
        :param noticeWay: (Optional) 通知方法    1-短信 2-邮件
        """

        self.effectiveIntervalEnd = effectiveIntervalEnd
        self.effectiveIntervalStart = effectiveIntervalStart
        self.noticeCondition = noticeCondition
        self.noticePeriod = noticePeriod
        self.noticeWay = noticeWay
